<extend name="Public/base" />

<block name="body">
	<!-- 标题栏 -->
	<div class="main-title">
		<h2>用户列表</h2>
	</div>
	 
	<div class="cf">
		<div class="fl"> 
            <a href="{:U('index')}"><button class="btn" style='color: #fdfdfd;background-color: #3986bd;'>全部用户</button></a>  
        </div>
        <!-- 高级搜索 --> 
    </div>
    <!-- 数据列表 -->
    <div class="data-table table-striped">
	<table class="">
    <thead>
        <tr>
		<th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
		<th class="">UID</th>
		<th class="">头像</th>
		<th class="">昵称</th> 
		<th class="">openid</th> 
		<th class="">注册时间</th> 
		<th class="">状态</th> 
		</tr>
    </thead>
    <tbody>
		<notempty name="_list"> 
		<volist name="_list" id="vo">
		<tr>
            <td><input class="ids" type="checkbox" name="id[]" value="{$vo.uid}" /></td>
			<td>{$vo.uid} </td>
			<td> <img src='{$vo.avatar|default="Public/static/images/default_avatar.png"}?imageMogr2/thumbnail/100x100!' style="width:50px;height:50px;"/> </td>
			<td>{$vo.nickname}</td> 
			<td>{$vo.openid}</td>   
			<td>{$vo.reg_time|time_format}</td> 
			<td>{$vo.status_text}</td> 
		</tr>
		</volist>
		<else/>
		<td colspan="10" class="text-center"> aOh! 暂时还没有内容! </td>
		</notempty>
	</tbody>
    </table>
	</div>
    <div class="page">
        {$_page}
    </div>
</block>

<block name="script">
	<script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script> 
	<script type="text/javascript">  
    //导航高亮
    highlight_subnav('{:U('User/index')}'); 
	</script>
</block>
